function loadPage() {
	$(".lmenu").corner();
}

function adminSelecciona(component) {
	component.style.backgroundColor = "#4e84c6";
	component.style.color = "#FFF";
}

function admindesSelecciona(component) {
	if(component.id!=$("#adMenuOption").val()) {
		component.style.backgroundColor = "#c0d2e8";
		component.style.color = "#454545";
	}
}

function seleccionaOpcion(component) {
	var mSelected = $("#adMenuOption").val();
	if(mSelected=="") {
		component.style.backgroundColor = "#4e84c6";
		component.style.color = "#FFF";
	} 
	if(mSelected!=component.id) {
		adminSelecciona(component);
		$("#adMenuOption").val(component.id);
		if(mSelected!="") {
			admindesSelecciona(document.getElementById(mSelected));
		}
		
	} 
}